//package com.lk.config;//package com.lk.config;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import springfox.documentation.builders.ApiInfoBuilder;
//import springfox.documentation.builders.PathSelectors;
//import springfox.documentation.builders.RequestHandlerSelectors;
//import springfox.documentation.service.ApiInfo;
//import springfox.documentation.spi.DocumentationType;
//import springfox.documentation.spring.web.plugins.Docket;
//import springfox.documentation.swagger2.annotations.EnableSwagger2;
//
///**
// * 访问地址 http://localhost:9911/lk/doc.html
// * swagger 文档配置
// * @author likun
// */
//@Configuration
//@EnableSwagger2
//public class SwaggerConfig {
//
//    @Bean
//    public Docket createRestApi() {
//        return new Docket(DocumentationType.SWAGGER_2).select().
//                apis(RequestHandlerSelectors.basePackage("com.lk")).
//                paths(PathSelectors.any()).build().apiInfo(apiInfo()).enable(true);
//    }
//
//    private ApiInfo apiInfo() {
//        return new ApiInfoBuilder().title("接口文档").
//                description("日赚1亿的项目管理后台").
//                license("").
//                licenseUrl("").
//                termsOfServiceUrl("http://124.223.181.211:9911").
//                version("1.0").build();
//    }
//
//}
